package com.lnsf.bookstore.system.book.service;

import com.github.pagehelper.PageInfo;
import com.lnsf.bookstore.system.book.vo.Book;
import org.apache.solr.client.solrj.SolrServerException;

import java.io.IOException;
import java.util.Map;

public interface BookService {

    PageInfo<Book> selectAll(Map<String,Object> map , Book book);

    Book queryObject(Integer id );

    int deleteBatch(Integer ids[]);

    int update(Book book);

    int save(Book book);

    Object importItemToIndex () throws IOException, SolrServerException;




}
